package com.x_memteor.base_master.base;

import com.google.gson.annotations.SerializedName;

/**
 * @author: X_Meteor
 * @description: 类描述
 * @version: V_1.0.0
 * @date: 2017/4/7 0007 13:58
 * @company:
 * @email: lx802315@163.com
 */
public class BaseEntityWithBean<E> {
    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    @SerializedName("state")
    private int state;
    @SerializedName("msg")
    private String msg;
    @SerializedName("data")
    private E data;

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    @SerializedName("result")
    private boolean result;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public E getData() {
        return data;
    }

    public void setData(E data) {
        this.data = data;
    }



}
